package com.requiem.hist_group_manage_springboot.service;

import com.requiem.hist_group_manage_springboot.exception.R;
import com.requiem.hist_group_manage_springboot.model.EvaluationModel;
import com.requiem.hist_group_manage_springboot.model.StudentModel;

public interface StudentService {

    R getList();

    R getByID();

    R getLog();

    R add(StudentModel studentModel);

    R delete();

    R edit(StudentModel studentModel);

    R joinGroup(int studentId, int groupId);

    R exitGroup(int studentId, int groupId);

    R SearchList(StudentModel studentModel);

    /*
     *评论功能
     */
    R getTeacher(int groupId);

    R getEvaluation(int studentId);

    R addEvaluation(EvaluationModel evaluationModel);

    R resetPassword(int id, String password);
}
